//package com.javatip;
//
//import  io.xjar.XCryptos;
//import io.xjar.XKit;
//import io.xjar.boot.XBoot;
//import io.xjar.key.XKey;
//
//
//public class Xjar {
//    public void sayXjar() {
//        System.out.println("Xjar");
//    }
//
//    public static void main(String[] args) {
//        try {
//            System.out.println("Starting");
////            XCryptos.encryption()
////                    .from("/home/jolly/develop/project/java/detection/target/javatip.jar")  // 输入文件路径
////                    .use("qiao88935813")  // 加密密码
////                    .to("/home/jolly/develop/project/java/detection/target/Xjar.jar");  // 输出文件路径
//            String password = "123456";
//            XKey xKey = XKit.key(password);
//            XBoot.encrypt("/home/jolly/develop/project/java/detection/target/javatip.jar",
//                    "/home/jolly/develop/project/java/detection/target/javatip.jar",
//                    xKey);
//            System.out.println("Encryption completed successfully!");
//        } catch (Exception e) {
//            e.printStackTrace();
//            System.err.println("Encryption failed.");
//        }
//    }
//}
//
